package com.tct.worktimeboard.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tct.worktimeboard.entity.WorkGroup;
import com.tct.worktimeboard.entity.WorkGroupVO;

import java.util.List;

/**
 * @author Huhailong
 * @Description
 * @Date 2021/2/23.
 */
public interface IWorkGroupService extends IService<WorkGroup> {
    JSONObject createGroup(WorkGroupVO workGroupVO);
    JSONObject getGroupList(WorkGroup workGroup);
    JSONObject deleteGroup(List<Long> ids);
    JSONObject updateGroup(WorkGroupVO workGroupVO);
    JSONObject getUserByGroup(Long groupId);
    JSONObject getPowerUserByGroup(Long groupId);
    JSONObject getGroupIdListByUserId(Long userId);
    JSONObject getGroupPowerUserId(Long userId);
    JSONObject getGroupByUserId(Long userId);
}
